package com.yaya.spring.tran;

import java.io.Serializable;

public class Account implements Serializable{

	private static final long serialVersionUID = -1534917570281940275L;
	
	private int id;
	private String name;
	private double balance;
	public Account() {}
	
	public Account(int id, String name, double balance) {
		this.id = id;
		this.name = name;
		this.balance = balance;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getBalance() {
		return balance;
	}
	public void setBalance(double balance) {
		this.balance = balance;
	}
}
